package com.yizhang.pattern.template;

/**
 * @Author: yi.zhang
 * @CreateTime: 2025-08-29 11:06:01
 * @Description:
 */
public class Test {
    public static void main(String[] args) {
        Beverage beverage = new Tea();
        System.out.println("开始泡茶");
        beverage.prepare();

        System.out.println("=============================");

        Beverage beverage2 = new Coffee();
        System.out.println("开始煮咖啡");
        beverage2.prepare();
    }
}
